#include <QApplication>
#include <QGraphicsScene>
#include <QGraphicsView>
#include <QPushButton>
#include <QPointF>
#include <QSize>

#include "diceroller.h"

int
main(int argc, char* argv[])
{
    QApplication app(argc, argv);

    DiceRoller diceRoller;

    QGraphicsView view(&diceRoller);
    view.setRenderHints(QPainter::Antialiasing);

    QSize size(800, 480);
    view.setMinimumSize(size);
    view.setMaximumSize(size);

    view.show();

    return app.exec();
}

